<template>
  <el-col :span="8" class="item">
    <el-card class="box-card">
      <div slot="header" class="clearfix">
        <div>
          <i class="el-icon-document" style="margin-right: 5px"></i>合同变更申请
        </div>
        <el-button style="float: right; padding: 3px 0; color: red" type="text"
          >审核中</el-button
        >
      </div>
      <div class="text">
        <p class="title">四川路桥建设集团有限公司</p>
        <p>你有<span>7016</span>等待审核</p>
      </div>
      <div class="footer">
        <span>2022-08-16 18:10:06</span>
        <el-button size="small">详情</el-button>
      </div>
    </el-card>
  </el-col>
</template>

<script>
export default {
  name: "ItemComponent",
  props: {
    item: {
      type: Object,
      default: () => {},
    },
  },
};
</script>

<style scoped lang="scss">
.item {
  padding: 20px;
  .box-card {
    box-shadow: 0 0px 0px 0 rgb(0 0 0 / 10%);
  }
  .clearfix {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .text {
    height: 100px;
    p {
      margin: 0;
      padding: 0;
    }
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    .title {
      color: #3264d8;
    }
  }
  .footer {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}
</style>
